<template>
  <avue-virtualized-table :data="dataSource" :option="tableOption">

  </avue-virtualized-table>
</template>
<script>
import AvueVirtualizedTable from "components/avue-extension/virtualized-table/index.vue";

export default {
  name: "index",
  components: {AvueVirtualizedTable},
  computed: {
    tableOption() {
      return {
        column: [
          {
            prop: 'a',
            sort: 4,
            span: 24,
            label: '测试',

          },
        ],
        emptyBtn: true,
        emptyText: '清空',
        gutter: 0,
        labelPosition: 'left',
        labelSuffix: '：',
      }
    }
  },
  data() {
    return {
      dataSource: [
        {a:1}
      ]
    }
  },
}
</script>
<style scoped>

</style>